// 首页接口文件
import request from "@/utils/request.js";
//获取轮播图列表信息
export const LunboInfoApi = () => {
    return request.get("/home/swiper")
}

//获取租房小组数据
export const ZuFaInfoApi = () => {
    return request.get("/home/groups", {
        params: {
            area: "AREA%7C88cff55c-aaa4-e2e0"
        }
    })
}

//获取轮播图列表信息
export const NewsInfoApi = () => {
    return request.get("/home/news",{
        params: {
            area: "AREA%7C88cff55c-aaa4-e2e0"
        }
    })
}

//获取当前定位城市信息
export const CurrentCityApi = (name) => {
    return request.get("/area/info",{
        params: {
            name
        }
    })
}